home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / try_qb / plotter.bas (.txt) < prev    next >
QuickBASIC Tokenized Source  |  1989-12-04  |  2KB  |  27 lines

  1. RGHT|
  2. UPLFT
  3. UPRGHT
  4. DOWNLFT
  5. DOWNRGHT
  6. SPACEBAR
  7. KeyVal
  8.  Values for keys on the numeric keypad and the spacebar:
  9.  Null$ is the first character of the two-character INKEY$
  10.  value returned for direction keys such as UP and DOWN:Y
  11.  Plot$ = "" means draw lines; Plot$ = "B" means move
  12.  graphics cursor, but don't draw lines:B
  13. Use the cursor movement keys to draw lines."
  14. Press the spacebar to toggle line drawing on and off."
  15. Press <ENTER> to begin. Press q to end the program."
  16. C1 U2"
  17. C1 D2"
  18. C2 L2"
  19. C2 R2"
  20. C3 H2"
  21. C3 E2"
  22. C3 G2"
  23. C3 F2"
  24.  The user pressed some key other than one of the
  25.  direction keys, the  spacebar, or "q", so
  26.  don't do anything.e
  27.